﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FreeSql.DataAnnotations;

namespace CoreRp.Db_Models
{
    /// <summary>
    /// 角色
    /// </summary>
    public class RAP_ROLE
    {
        /// <summary>
        /// 角色代码
        /// </summary>
        [Column(IsPrimary =true)]
        public string ROLECODE { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string ROLENAME { get; set; }
        /// <summary>
        /// 角色功能描述
        /// </summary>
        public string ROLEDESC { get; set; }
        /// <summary>
        /// 是否可用,Y/N
        /// </summary>
        public string ENABLE { get; set; }
        public DateTime CREATETIME { get; set; } = DateTime.Now;
    }
}
